﻿using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using nspLable.Using;

public partial class WebNews_Detail : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        try
        {
            int ID = 0;
            ID = Convert.ToInt32(this.Request.QueryString["id"]);
            if (ID >= 0)
            {
                string WSbody = new Principal().GetTemplate("WebNews_Detail");
                Response.Write(WSbody);
            }
            else
            {
                HttpContext.Current.Response.Write("<script>alert(\"您请求的页面不存在\");history.go(-1);</script>");
            }
        }
        catch
        {
            Response.Redirect("/Error.aspx");
        }
    }
}
